.container {
    width: 10rem;
    min-width: 320px;
    height: 100%;
    background-color: #fff;
    margin: 0 auto;
    box-sizing: border-box;
    background-image: linear-gradient(rgb(255, 113, 31), rgb(255, 229, 134));
    padding-top: 30px;
    border-top: solid 1px rgb(255, 113, 31);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ipad */
/* @media only screen and (max-width: 768px) {
    .container {
        width: 100%;
    }
} */
/* ipad pro */
/* @media only screen and (max-width: 1024px) {
    .container {
        width: 100%;
    }
} */

/* 货架 */
.shelves {
    height: 170px;
    text-align: center;
    position: relative;
    background-image: url(../img/block.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100%;
}

.shelves img {
    height: 150px;
    margin-top: -10px;
}

.shelves h1 {
    font-size: 16px;
    color: rgb(168, 82, 12);
}

.content {
    background-image: linear-gradient(#ffdda3, #feedcf);
    border-top: solid 1px rgb(255, 246, 227);
    flex: 1;
}

/* 砍价进度 */
.count-down {
    text-align: center;
    background: rgb(255, 252, 246);
    width: 9rem;
    min-width: 288px;
    margin: 20px auto;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 10px;
}

.count-down p {
    margin: 20px auto;
}

.progress {
    width: 8rem;
    min-width: 256px;
    margin: 0 auto;
    height: 10px;
    background-color: bisque;
    border-radius: 10px;
}

.progress .value {
    display: block;
    width: 90%;
    height: 100%;
    background-image: linear-gradient(to right, rgb(226, 48, 13), rgb(244, 148, 13));
    border-radius: 10px;
}

.invite-btn {
    width: 8rem;
    min-width: 288px;
    height: 40px;
    border-radius: 40px;
    background-image: linear-gradient(to right, rgb(226, 48, 13), rgb(244, 148, 13));
    border: none;
    margin: 20px auto 10px;
    display: block;
    font-size: 16px;
    color: #fff;
    box-shadow: 0 3px 0px rgb(171, 80, 15);
}


/* 砍价记录 */
.kj-log {
    text-align: center;
    background: rgb(255, 245, 224);
    width: 9rem;
    min-width: 288px;
    margin: 10px auto;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.kj-log h1 {
    font-size: 15px;
    background-color: rgb(255, 200, 138);
    color: rgb(207, 69, 0);
    height: 40px;
    line-height: 40px;
}

.kj-log ul {
    position: relative;
}

.kj-log ul::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px;
    border-color: rgb(255, 245, 224);
    border-left-color: transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    position: absolute;
    left: 50%;
    margin-left: -4px;
    top: -16px;
}

.kj-log ul li {
    box-sizing: border-box;
    height: 50px;
    display: flex;
    line-height: 50px;
    color: rgb(144, 86, 45);
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin-top: 10px;
    border: solid 1px rgb(144, 86, 45);
}
.kj-log ul li{
    padding-left: 10px;
}
.kj-log ul li div:nth-child(1) {
    width: 10px;
}
.kj-log ul li div:nth-child(2) {
    width: 50px;
}

.kj-log ul li div:nth-child(3) {
    flex: 1;
    line-height: normal;
    text-align: left;
    font-size: 12px;
    font-weight: 200;
}

.kj-log ul li div:nth-child(3) h3 {
    margin-top: 10px;
}

.kj-log ul li div:nth-child(3) p {
    font-size: 10px;
}

.kj-log ul li div:nth-child(4) {
    width: 100px;
}


/* 红包页 */
.mask {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8);
    left: 0;
    top: 0;
}

.mask .card{
    width: 8rem;
    min-width: 256px;
    height: 8rem;
    position: absolute;
    left: 50%;
    margin-left: -4rem;
    top: 50%;
    margin-top: -5rem;
    /* background-color: #fff; */
    text-align: center;
}
.card .cover{
    width: 80%;
}
.card .name{
    color: red;
}
.card p{
    font-size: 20px;
    color: gold;
}

.close-btn{
    position: absolute;
    width: 40px;
    height: 40px;
    right: 20px;
    top: 20px;
    opacity: 0.5;
}